﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string name2 = Request.Form["name"];
            string psd2 = Request.Form["psd"];

            string name3 = Request.Params["n"];
            string psd3 = Request.Params["p"];

            Response.Write(Server.HtmlDecode($" <h1> Post的Params  ==> 欢迎你：{name2}，你的密码是：{psd2}  <br/> <br/><h1/>") ); 
            Response.Write($"  get的QueryString  ==> 欢迎你：{name3}，你的密码是：{psd3}");
        }
    }
} 